Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

This should work with a button in the document

Sub Click(Source As Button)
Dim session As New NotesSession
Dim db As NotesDatabase
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Dim docMail, doc As NotesDocument
Dim rtitem As NotesRichTextItem

Set db = session.CurrentDatabase
Set docMail = db.CreateDocument
Set uidoc = ws.CurrentDocument
Set doc = uidoc.Document

docMail.Form="Memo"
docMail.SendTo = "John Smith"
docMail.Subject = "Location System: A Support Request Has Been Logged"

Set rtitem = New NotesRichTextItem ( docMail, "Body" )
Call rtitem.Appendtext(doc.emailBody(0))

Call docMail.Send( False )
End Sub


Feedback response number WEBB8M3GWN created by ~George Pregerosterobu on 09/26/2011

Sending contents of a field in an e... (~Elizabeth Nonf... 26.Sep.11)
. . code (~George Pregero... 26.Sep.11)
. . . . Thanks, but... (~Elizabeth Nonf... 26.Sep.11)
. . . . . . errors (~George Pregero... 26.Sep.11)
. . . . . . . . You're right (~Elizabeth Nonf... 26.Sep.11)
. . . . . . . . . . This should work with a button in t... (~George Pregero... 26.Sep.11)
. . . . . . . . . . . . Thanks! (~Elizabeth Nonf... 26.Sep.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS